package ts.group.webapp.market.common.core.web.exception;

import org.springframework.core.NestedRuntimeException;

/**
 * 
 * 异常处理类
 */
public class ResourceException extends NestedRuntimeException{
	private String errCode;

	private static final long serialVersionUID = 1L;
	
	public ResourceException(String msg) {
		super(msg);
	}
	
	public ResourceException(String errCode, Throwable cause) {
		super("", cause);
		this.errCode = errCode;
	}

	public String getErrCode() {
		return errCode;
	}
}

